package com.woniu.cms.goods.core.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 月度材料平衡信息报表附属表。材料详情页所显示的信息。
 * </p>
 *
 * @author romantic sheep
 * @since 2022-09-19
 */
@Getter
@Setter
@ToString
@ExcelTarget(value="材料平衡统计表")
  @TableName("cms_goods_balance_material")
@ApiModel(value = "GoodsBalanceMaterial对象", description = "月度材料平衡信息报表附属表。材料详情页所显示的信息。")
public class GoodsBalanceMaterial implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;
      @Excel(name = "物资名称",orderNum = "1",width = 25,needMerge = true)
      @ApiModelProperty("物资名称")
      private String goodsName;
      @Excel(name = "规格型号",orderNum = "2",width = 25,needMerge = true)
      @ApiModelProperty("规格型号")
      private String modelName;
      @Excel(name = "入库数量",orderNum = "3",width = 25,needMerge = true)
      @ApiModelProperty("入库数量")
      private BigDecimal getbillNum;
      @Excel(name = "入库单价",orderNum = "4",width = 25,needMerge = true)
      @ApiModelProperty("入库单价")
      private BigDecimal getbillPrice;
      @Excel(name = "入库金额",orderNum = "5",width = 25,needMerge = true)
      @ApiModelProperty("入库金额")
      private BigDecimal getbillMoney;
      @Excel(name = "出库数量",orderNum = "6",width = 25,needMerge = true)
      @ApiModelProperty("出库数量")
      private BigDecimal outbillNum;
      @Excel(name = "出库单价",orderNum = "7",width = 25,needMerge = true)
      @ApiModelProperty("出库单价")
      private BigDecimal outbillPrice;
      @Excel(name = "出库金额",orderNum = "8",width = 25,needMerge = true)
      @ApiModelProperty("出库金额")
      private BigDecimal outbillMoney;
      @Excel(name = "回缴数量",orderNum = "9",width = 25,needMerge = true)
      @ApiModelProperty("回缴数量")
      private BigDecimal paybackNum;
      @Excel(name = "回缴单价",orderNum = "10",width = 25,needMerge = true)
      @ApiModelProperty("回缴单价")
      private BigDecimal paybackPrice;
      @Excel(name = "回缴金额",orderNum = "11",width = 25,needMerge = true)
      @ApiModelProperty("回缴金额")
      private BigDecimal paybackMoney;
      @Excel(name = "退回数量",orderNum = "12",width = 25,needMerge = true)
      @ApiModelProperty("退回数量")
      private BigDecimal returnNum;
      @Excel(name = "退回单价",orderNum = "13",width = 25,needMerge = true)
      @ApiModelProperty("退回单价")
      private BigDecimal returnPrice;
      @Excel(name = "退回金额",orderNum = "14",width = 25,needMerge = true)
      @ApiModelProperty("退回金额")
      private BigDecimal returnMoney;
      @Excel(name = "结算数量",orderNum = "15",width = 25,needMerge = true)
      @ApiModelProperty("结算数量")
      private BigDecimal settleNum;
      @Excel(name = "结算单价",orderNum = "16",width = 25,needMerge = true)
      @ApiModelProperty("结算单价")
      private BigDecimal settlePrice;
      @Excel(name = "结算金额",orderNum = "17",width = 25,needMerge = true)
      @ApiModelProperty("结算金额")
      private BigDecimal settleMoney;
      @Excel(name = "盈亏金额",orderNum = "18",width = 25,needMerge = true)
      @ApiModelProperty("盈亏金额")
      private BigDecimal profitAndLoss;
      @Excel(name = "盈亏数量",orderNum = "19",width = 25,needMerge = true)
      @ApiModelProperty("盈亏数量")
      private BigDecimal profitAndLossNum;

      @ApiModelProperty("盈亏平衡表外键")
      private Integer balanceId;

      @ApiModelProperty("入库材料单外键")
      private Integer getbillMaterialId;

}
